package com.ys.mapper;

import com.ys.pojo.Administrators;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdministratorsMapper {
    Administrators findByAccountAndpassword(@Param("name") String name);
    int updateUplaod(@Param("names") String names,@Param("id") int id);
    List<Administrators> finalByAll(@Param("name1")String name1,@Param("name2")String name2,@Param("name3")String name3,@Param("name4")String name4);
    boolean insert(Administrators ad);
    boolean updatePwd(@Param("pwd") String pwd,@Param("shiro")String shiro,@Param("id")Integer id);
    boolean updateGangwei(@Param("id") int id,@Param("ids") int ids);
    int updsupdataUser(Administrators ad);
    List<Administrators> findAdministratorsId();
    Administrators finalByAllobj(String ids);
}
